package com.huazi.eduservice.client;

import com.huazi.commonutils.CommentResult;
import org.springframework.stereotype.Component;

/**
 * @author shkstart
 * @create 2021-03-24 13:56
 */
@Component
public class VodClientFallback implements VodClient{

    @Override
    public CommentResult deleteVodVideo(String id) {
        CommentResult data = CommentResult.getError().data("请求内容", id).data("message", "抱歉，请求的服务出现故障！");
        System.out.println(data);
        return  data;
    }
}
